import pic from '@/assets/webpack.png'

new Promise((resolve, reject) => {
  let id =  setTimeout(() => {
    console.log("执行了", pic);
    resolve(id)
  },500)
}).then(id => {
  clearTimeout(id);
})

async function test() {
  
}